package cn.kgc.chenxiao.dao;

import cn.kgc.chenxiao.pojo.Detail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 陈啸
 * @create 2020-01-06 9:21
 */
public interface DetailDao {
    List<Detail> getSelect(@Param("categoryId")int categoryId,@Param("title") String title);
    Detail getUpdateById(int id);
    int getUpdate(Detail detail);
    Detail getByTitle(String title);
}
